<template>
	<div style="text-align: center; color: red; font-size: 20px">{{ msg }}</div>
</template>

<script>
	export default {
		async onLoad(query) {
			let code = parseInt(query.code);
			let msg = "";
			if (code == 401) {
				msg = "登录信息已过期，请您重新登录！";
			}
			if (code == 403) {
				msg = "您没有权限进行操作！";
			}
			this.code = code;
			this.msg = msg;
		},
		data() {
			return {
				code: "",
				msg: "",
			};
		},
		async mounted() {},
		methods: {},
	};
</script>

<style scoped>
</style>
